Total Complexity | 7 |
Dependencies | 2 |
Dependents | 11 |
Total lines | 119 |
Lines of code | 39 |
Logical lines of code | 17 |
Comment lines | 26 |
Methods | 3 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_plugin_capabilities_to_roles() | 54 | 3 | 26 | |
getCapabilityForRule() | 68 | 2 | 7 | |
checkIfCurrentUserCan() | 71 | 2 | 6 |